<?php

class Application_Model_DbTable_PicturesNew extends Zend_Db_Table_Abstract
{

    protected $_name = 'pictures_new';
    protected static $nameRows = array(
        'id',
        'file_name',
        'new_id'
    );
    
    public static function getRowNames(){
        return Application_Model_DbTable_PicturesNew::$nameRows;
    }
    
    protected $_referenceMap	= array(
		'HandleSpec' => array(
			'columns'			=> 'new_id',
			'refTableClass'		=> 'Application_Model_DbTable_News',
			'refColumns'		=> 'id'
		)
	);
}

